import request from '@/util/request'

// 新增标签
export function addLabel(labelBo) {
  return request({
    url: '/label/add',
    method: 'post',
    data:labelBo
  })
}

export function labelList(labelBo) {
  return request({
    url: '/label/list',
    method: 'post',
    data:labelBo!=null?labelBo:{}
  })
}

export function adminLabelList(labelBo) {
  return request({
    url: '/admin/label/list',
    method: 'post',
    data:labelBo!=null?labelBo:{}
  })
}